IP Stack
-
TUN interface provide a scheme to register a set of IP Stacks (implementing
See moreIPStackProtocol
) to process IP packets from a virtual TUN interface.Declaration
Swift
open class TUNInterface
-
The protocol defines an IP stack.
See moreDeclaration
Swift
public protocol IPStackProtocol: class
-
This class wraps around tun2socks to build a TCP only IP stack.
See moreDeclaration
Swift
open class TCPStack: TSIPStackDelegate, IPStackProtocol
-
This stack tranmits UDP packets directly.
See moreDeclaration
Swift
public class UDPDirectStack: IPStackProtocol, NWUDPSocketDelegate